package com.idheima.zuoye.zuoye5;

public class Dog extends Animal implements Swim {
    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }

    @Override
    public void swim() {
        System.out.println("狗刨");
    }
    /*public void run() {
        System.out.println("狗刨式游泳");
    }

     */
}
